package com.tuanzi.loan.business.entity.galaxycard;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 银河黑卡卡权益 Entity
 * @author JinRuiyang 2018/1/9 15:09:56
 */
@Data
@Entity
@Table(name = "loan_galaxy_card_privilege")
@SuppressWarnings("serial")
@EqualsAndHashCode
public class GalaxyCardPrivilege implements Serializable {

    // 主键
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    // 权益类型
    @Column(name = "privilege_type")
    private Integer privilegeType;

    // 权益名称
    @Column(name = "name")
    private String name;

    // 权益显示图标
    @Column(name = "icon_url")
    private String iconUrl;

    // 权益项目名称
    @Column(name = "project_name")
    private String projectName;

    // 创建时间
    @Column(name = "create_time")
    private Date createTime;

    // 权益处理器对应编码
    @Column(name = "code")
    private String code;

    @Column(name = "sort")
    private Integer sort;

    // 配置信息
    @Column(name = "config")
    private Integer config;
}
